﻿@{
    Layout = "../Shared/_Default.cshtml";
    ViewBag.PageTitle = T(Res.Name("Title"), JDM.Int32(Model.EntityID));
}

<div class="box">
    <section>
    @{
        Html.RenderPartial("_Update");
    }
    </section>
</div>
<div class="box">
    <header>
        <h3>@T(Res.Name("Attachments"))</h3>
    </header>
    <section>
        <div class="hint">
            <p>@T(Res.Name("AttachmentsHint"))</p>
        </div>
    </section>
    <section>
    @{
        Html.RenderAction(Loc.Act("_Attachments").Set(new
        {
            id = JDM.Int32(Model.EntityID)
        }).Localized());
    }
    </section>
</div>
<div class="box">
    <header>
        <h3>@T(Res.Name("Translations"))</h3>
    </header>
    <section>
        <div class="hint">
            <p>@T(Res.Name("TranslationsHint"))</p>
        </div>
    </section>
    <section>
    @{
        Html.RenderPartial("_Translations");
    }
    </section>
</div>
<div class="box">
    <header>
        <h3>@T(Res.Name("Tags"))</h3>
    </header>
    <section>
        <div class="hint">
            <p>@T(Res.Name("TagsHint"))</p>
        </div>
    </section>
    <section>
    @{
        Html.RenderPartial("_Tags");
    }
    </section>
</div>
<div class="box">
    <header>
        <h3>@T(Res.Name("Attributes"))</h3>
    </header>
    <section>
        <div class="hint">
            <p>@T(Res.Name("AttributesHint"))</p>
        </div>
    </section>
    <section>
    @{
        Html.RenderPartial("_Attributes");
    }
    </section>
</div>
